<html>
<head>
<meta name="viewport" content="width=480"/>
<link rel="stylesheet" href="style/style.css" type="text/css" />
<title>Upload an incident report</title>
</head>
<body onload="locationInit()">
<div id="maincontent">
<a href="/"><img class="logo" src="images/safer-streets-logo.png" alt="Safer Streets" title="Safer Streets Logo"/></a>
<h2>Report a new incident</h2>
<p>(your location is auto-detected.... please wait)
<form action="/upload" method="post" id="incidentform">
Latitude: <input type="text" name="latitude" id="latitude" readonly="readonly" value="detecting.."/><br/>
Longitude: <input type="text" name="longitude"  id="longitude" readonly="readonly"  value="detecting.."/><br/>
Accuracy (m): <input type="text" name="accuracy"  id="accuracy" readonly="readonly"  value="detecting.."/><br/>
Incident Type:
<select name="incidentType">
<option>test</option>
<option>following</option>
<option>verbal abuse</option>
<option>groping</option>
<option>sexual assault</option>
<option>robbery</option>
<option>other</option>
</select>
<br/>
Reporter: $user_nick<br/>
Report publicly: <input type="checkbox" name="showId" value="yes" checked="checked" /><br/><br/>
<!--<input type="submit"/> -->
<a href="#" class="submitbutton" onClick="document.forms['incidentform'].submit();">Submit</a>
<br/><br/>
</form>
<a href="$logouturl">Log Out</a><br/>
<a href="http://www.google.com/moderator/#15/e=a5aa7&t=a5aa7.40" target="_blank">Feedback (new window)</a><br/>
<a href="http://code.google.com/p/safer-streets/">Powered by Safer-Streets</a><br/>
</p>
</div>

<script src="http://code.google.com/apis/gears/gears_init.js" type="text/javascript" charset="utf-8"></script> 
<script src="http://geo-location-javascript.googlecode.com/svn/trunk/js/geo-min.js" type="text/javascript" charset="utf-8"></script> 
<script src="/scripts/safer-streets.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24687961-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script> 
</body>
</html>